CXXFLAGS =	-O2 -g -Wall -fmessage-length=0

BDIR = bin

OBJS =		opencv_frist.o

# OpenCV 库标记
OPENCV_LIBS =	`pkg-config opencv --libs`

LIBS =	$(OPENCV_LIBS)

TARGET =	$(BDIR)/opencv_frist

VPATH = src

$(TARGET):	$(OBJS)
	$(CXX) -o $(TARGET) $(OBJS) $(LIBS)

all:	$(TARGET)

clean:
	rm -f $(OBJS) $(TARGET)
